package com.example.demo.entity.requestJson;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author : 洪俊新
 * @date : 2021/3/11 14:24
 * @description:
 */
@ApiModel("发布书籍一级评论请求Json类")
public class PutOneLevelCommentReq {
    /**
     * 评论人userId
     * isnull 0
     */        @ApiModelProperty(value="评论人userId", position=2)
    private String userId;

    /**
     * 评论的书籍id
     * isnull 0
     */        @ApiModelProperty(value="评论的书籍id",position=4)
    private String bookId;
    /**

    /**
     * 评论的内容
     * isnull 0
     */        @ApiModelProperty(value="评论的内容",position=11)
    private String content;

    /**
     * 被评论的章节id
     * isnull 0
     */        @ApiModelProperty(value="被评论的章节id",position=16)
    private String chapterId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getChapterId() {
        return chapterId;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }


    @Override
    public String toString() {
        return "PutOneLevelCommentReq{" +
                "userId='" + userId + '\'' +
                ", bookId='" + bookId + '\'' +
                ", content='" + content + '\'' +
                ", chapterId='" + chapterId + '\'' +
                '}';
    }
}
